package com.example.pro1.config.zhao;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;


@Configuration
@PropertySource("classpath:wxapplets.properties")
@ConfigurationProperties(prefix = "wxapplets")
@Data
public class WxAppletsConfig {

    //小程序appid
    private String appID;

    //小程序密钥
    private String appSecret;
    //
    private String main;

    public void setAppID(String appID) {
        this.appID = appID;
    }
}
